package com.wanshi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * Hello world!
 *
 */
@SpringBootApplication
// 从注册中心发现别人的服务
@EnableDiscoveryClient // 开启Eureka客户端发现功能
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
